package xyz.xtt.user.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户地址信息表
 *
 * </p>
 *
 * @author author
 * @since 2024-10-31
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tbl_user_delivery_address")
@ApiModel(value = "TblUserDeliveryAddress对象", description = "用户地址信息表")
public class TblUserDeliveryAddress implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	@TableId(value = "id", type = IdType.AUTO)
	private String id;

	@ApiModelProperty(value = "资产用户id")
	private String userId;

	@ApiModelProperty(value = "省市区")
	private String deliveryArea;

	@ApiModelProperty(value = "收货地址")
	private String deliveryAddress;

	@ApiModelProperty(value = "是否默认：1:true,0:false")
	private Integer isDefault;

	@ApiModelProperty(value = "最新修改时间")
	private LocalDateTime lastModifyDate;

	@ApiModelProperty(value = "收件人名称")
	private String userName;

	@ApiModelProperty(value = "手机号")
	private String phone;

}
